﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GLaDOS {
    class Light {
        string id = "";
        bool on = false;    //On/off status indicator.
        int power = 100;    //Dimmer power.

        public Light(string idcode) {
            id = idcode;
        }

        public bool TurnOn() {
            //Code to turn on light.

            return (on = true);
        }

        public bool TurnOff() {
            //Code to turn off light.

            return (on = false);
        }

        public void SetDimmer(int val) {
            //Code to set dimmer level.

            power = val;
        }
    }
}
